package com.enhinck.dbutilweb.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 表字段
 *
 * @author xiaomi（huenbin xiaomi.hu@tuya.com）
 * @since 2022-07-28 17:54
 */
@Data
public class TableColumnVO {
    @ApiModelProperty(value = "字段名")
    private String columnName;
    @ApiModelProperty(value = "字段类型")
    private String columnType;
    @ApiModelProperty(value = "非空")
    private Boolean isNotNull;
    @ApiModelProperty(value = "字段注释")
    private String columnComment;
    @ApiModelProperty(value = "字段默认")
    private String columnDefault;
    @ApiModelProperty(value = "自增")
    private Boolean autoIncrement;
    @ApiModelProperty(value = "主键")
    private Boolean columnKey;
}
